/*
 * 查询的枚举类型
 * */
export const DATA_ENTRY = {
  // 输入框(支持添加前缀和后缀图标)
  INPUT: 'input',
  INPUTNUMBER: 'inputNumber',
  SELECT: 'select',
  TREESELECT: 'treeSelect',
  SINGLEDATE: 'singleDate',
  COMPLEXDATE: 'complexDate',
  RANGEDATE: 'rangeDate',

  FORMINFO: 'formInfo',
  FORMUPLOAD: 'formUpLoad',
  // 产品组合树形结构
  PRODUCTGROUPTREE: 'productGroupTree',
  // 产品列表
  PRODUCTLIST: 'productList',
  // 产品+组合联动处理
  PRODUCTGROUPSEP: 'productGroupSep',
  // 产品组列表
  PRODUCTGROUP: 'productGroup',
  // 证券代码
  SECURITIESCODE: 'securitiesCode',
  // 评级区间
  RATERANGEC: 'RateRangeC',
  // 区间选择
  RANGESELECT: 'rangeSelect',
  // 基准
  BENCHMARK: 'benchMark',
  // 系列产品
  SERIESPRODUCTS: 'seriesProducts',
  // 交易对手
  TRADINGCOMPANY: 'tradingCompany',
  // 交易方向
  TRADINGDIRECT: 'tradingDirect',
  // 交易市场
  TRADINGMARKET: 'tradingMarket',
  // 交易类型
  TRADINGTYPE: 'tradingType',
  // wind债券类型
  WINBONDTYPE: 'winBondType',
  // 租户
  TENANT: 'tenant',
  // 租户+部门
  TENANTDEPARTMENT: 'tenantDepartment',
  //行业
  INDUSTRYC: 'industry',
  //系列产品
  SERIESPRODUCTGROUP: 'SeriesProductGroup',
  //资金运用行业
  FUNDAPPLICATIONINDUSTRYC: 'FundApplicationIndustryC',
  //sppi目标
  SPPIRESULTC: 'SppIResult',
  //业务目标类型
  BUSINESSTYPE: 'BusinessType',
  //业务目标结果
  BUSINESSTARGETC: 'BusinessTargetC',
  //省市
  ADDRESSC: 'addressC',
  SIMPLEQUARTERC: 'SimpleQuarterC',
  //绩效分析时间范围
  HOlDDATERANGEC: 'HoldDateRangeC',
};

/**
 *xs: '480px',
  sm: '576px',
  md: '768px',
  lg: '992px',
  xl: '1200px',
  xxl: '1600px',
  我们的系统最低兼容到1600，所以lable占5份，wrapper占17份，wrapper右侧空白占2份
 */
//当一排一个的时候formLayout 基于父元素
//当一排一个的时候formLayout 基于父元素
export const FormItemLayout_oneLine_baseParent_one = {
  labelCol: {
    xs: { span: 9, offset: 0 },
    sm: { span: 9, offset: 0 },
    md: { span: 12, offset: 0 },
    lg: { span: 9, offset: 0 },
    xl: { span: 6, offset: 0 },
    xxl: { span: 6, offset: 0 },
  },
  wrapperCol: {
    xs: { span: 15, offset: 0 },
    sm: { span: 15, offset: 0 },
    md: { span: 12, offset: 0 },
    lg: { span: 15, offset: 0 },
    xl: { span: 18, offset: 0 },
    xxl: { span: 18, offset: 0 },
  },
};
export const FormItemLayout_oneLine_baseParent_three = {
  labelCol: {
    xs: { span: 12, offset: 0 },
    sm: { span: 12, offset: 0 },
    md: { span: 12, offset: 0 },
    lg: { span: 6, offset: 0 },
    xl: { span: 6, offset: 0 },
    xxl: { span: 4, offset: 0 },
  },
  wrapperCol: {
    xs: { span: 12, offset: 0 },
    sm: { span: 12, offset: 0 },
    md: { span: 12, offset: 0 },
    lg: { span: 18, offset: 0 },
    xl: { span: 18, offset: 0 },
    xxl: { span: 20, offset: 0 },
  },
};
export const FormItemLayout_oneLine_baseParent_four = {
  labelCol: {
    xs: { span: 9, offset: 0 },
    sm: { span: 9, offset: 0 },
    md: { span: 11, offset: 0 },
    lg: { span: 5, offset: 0 },
    xl: { span: 10, offset: 0 },
    xxl: { span: 10, offset: 0 },
  },
  wrapperCol: {
    xs: { span: 15, offset: 0 },
    sm: { span: 15, offset: 0 },
    md: { span: 13, offset: 0 },
    lg: { span: 19, offset: 0 },
    xl: { span: 14, offset: 0 },
    xxl: { span: 14, offset: 0 },
  },
};
export const FormItemLayout_oneLine_baseParent_five = {
  labelCol: {
    xs: { span: 12, offset: 0 },
    sm: { span: 12, offset: 0 },
    md: { span: 6, offset: 0 },
    lg: { span: 10, offset: 0 },
    xl: { span: 9, offset: 0 },
    xxl: { span: 10, offset: 0 },
  },
  wrapperCol: {
    xs: { span: 12, offset: 0 },
    sm: { span: 12, offset: 0 },
    md: { span: 18, offset: 0 },
    lg: { span: 14, offset: 0 },
    xl: { span: 15, offset: 0 },
    xxl: { span: 14, offset: 0 },
  },
};
export const FormItemLayout_oneLine_baseParent_six = {
  labelCol: {
    xs: { span: 12, offset: 0 },
    sm: { span: 12, offset: 0 },
    md: { span: 11, offset: 0 },
    lg: { span: 6, offset: 0 },
    xl: { span: 6, offset: 0 },
    xxl: { span: 4, offset: 0 },
  },
  wrapperCol: {
    xs: { span: 12, offset: 0 },
    sm: { span: 12, offset: 0 },
    md: { span: 13, offset: 0 },
    lg: { span: 18, offset: 0 },
    xl: { span: 18, offset: 0 },
    xxl: { span: 20, offset: 0 },
  },
};
export const FormItemLayout_oneLine_baseParent_two = {
  labelCol: {
    xs: { span: 12, offset: 0 },
    sm: { span: 12, offset: 0 },
    md: { span: 12, offset: 0 },
    lg: { span: 9, offset: 0 },
    xl: { span: 4, offset: 0 },
    xxl: { span: 8, offset: 0 },
  },
  wrapperCol: {
    xs: { span: 12, offset: 0 },
    sm: { span: 12, offset: 0 },
    md: { span: 12, offset: 0 },
    lg: { span: 15, offset: 0 },
    xl: { span: 20, offset: 0 },
    xxl: { span: 16, offset: 0 },
  },
};
export const FormItemLayout_oneLine_baseParent_two_base = {
  labelCol: {
    xs: { span: 12, offset: 0 },
    sm: { span: 12, offset: 0 },
    md: { span: 12, offset: 0 },
    lg: { span: 9, offset: 0 },
    xl: { span: 7, offset: 0 },
    xxl: { span: 4, offset: 0 },
  },
  wrapperCol: {
    xs: { span: 12, offset: 0 },
    sm: { span: 12, offset: 0 },
    md: { span: 12, offset: 0 },
    lg: { span: 15, offset: 0 },
    xl: { span: 17, offset: 0 },
    xxl: { span: 20, offset: 0 },
  },
};
export const FormItemLayout = {
  labelCol: {
    lg: { span: 7, offset: 0 },
    xl: { span: 7, offset: 0 },
    xxl: { span: 7, offset: 0 },
  },
  wrapperCol: {
    lg: { span: 15, offset: 0 },
    xl: { span: 15, offset: 0 },
    xxl: { span: 15, offset: 0 },
  },
};
export const FormItemLayoutReport = {
  labelCol: {
    xs: { span: 8, offset: 0 },
    md: { span: 8, offset: 0 },
    lg: { span: 8, offset: 0 },
    xl: { span: 8, offset: 0 },
    xxl: { span: 8, offset: 0 },
  },
  wrapperCol: {
    xs: { span: 15, offset: 0 },
    md: { span: 15, offset: 0 },
    lg: { span: 15, offset: 0 },
    xl: { span: 15, offset: 0 },
    xxl: { span: 15, offset: 0 },
  },
};

// form框架中，四等分时，每一份的layout
export const FormGroupLayout4 = {
  labelCol: {
    lg: { span: 8, offset: 0 },
    xl: { span: 8, offset: 0 },
    xxl: { span: 8, offset: 0 },
  },
  wrapperCol: {
    lg: { span: 16, offset: 0 },
    xl: { span: 16, offset: 0 },
    xxl: { span: 16, offset: 0 },
  },
};
// form框架中，四等分时，一整行的layout
export const FormGroupLayout41 = {
  labelCol: {
    lg: { span: 2, offset: 0 },
    xl: { span: 2, offset: 0 },
    xxl: { span: 2, offset: 0 },
  },
  wrapperCol: {
    lg: { span: 22, offset: 0 },
    xl: { span: 22, offset: 0 },
    xxl: { span: 22, offset: 0 },
  },
};
//三等分中有extra的时候的展示方式
export const FormGroupLayout3_extra = {
  labelCol: {
    lg: { span: 3, offset: 0 },
    xl: { span: 3, offset: 0 },
    xxl: { span: 3, offset: 0 },
  },
  wrapperCol: {
    lg: { span: 21, offset: 0 },
    xl: { span: 21, offset: 0 },
    xxl: { span: 21, offset: 0 },
  },
};

// form框架中，三等分时，每一份的layout
export const FormGroupLayout3 = {
  labelCol: {
    lg: { span: 9, offset: 0 },
    xl: { span: 9, offset: 0 },
    xxl: { span: 9, offset: 0 },
  },
  wrapperCol: {
    lg: { span: 15, offset: 0 },
    xl: { span: 15, offset: 0 },
    xxl: { span: 15, offset: 0 },
  },
};
// form框架中，三等分时，一整行的layout
export const FormGroupLayout31 = {
  labelCol: {
    lg: { span: 3, offset: 0 },
    xl: { span: 3, offset: 0 },
    xxl: { span: 3, offset: 0 },
  },
  wrapperCol: {
    lg: { span: 21, offset: 0 },
    xl: { span: 21, offset: 0 },
    xxl: { span: 21, offset: 0 },
  },
};

// form框架中，二等分时，每一份的layout
export const FormGroupLayout2 = {
  labelCol: {
    lg: { span: 6, offset: 0 },
    xl: { span: 6, offset: 0 },
    xxl: { span: 6, offset: 0 },
  },
  wrapperCol: {
    lg: { span: 18, offset: 0 },
    xl: { span: 18, offset: 0 },
    xxl: { span: 18, offset: 0 },
  },
};
// form框架中，二等分时，一整行的layout
export const FormGroupLayout21 = {
  labelCol: {
    lg: { span: 3, offset: 0 },
    xl: { span: 3, offset: 0 },
    xxl: { span: 3, offset: 0 },
  },
  wrapperCol: {
    lg: { span: 21, offset: 0 },
    xl: { span: 21, offset: 0 },
    xxl: { span: 21, offset: 0 },
  },
};
export const NoLableLayout = {
  labelCol: {
    xs: { span: 0, offset: 0 },
    md: { span: 0, offset: 0 },
    lg: { span: 0, offset: 0 },
    xl: { span: 0, offset: 0 },
    xxl: { span: 0, offset: 0 },
  },
  wrapperCol: {
    xs: { span: 24, offset: 0 },
    md: { span: 24, offset: 0 },
    lg: { span: 24, offset: 0 },
    xl: { span: 24, offset: 0 },
    xxl: { span: 24, offset: 0 },
  },
};

export const titleStyle = {
  fontSize: '14px',
  color: '#4A4A4A',
};
export const toolTipStyle = {
  color: ' #4D86FF',
};
